module cla_4 (A,B,Cin,invA,invB,Out,Cout);
	input [3:0] A,B;
	input Cin,invA,invB;
	output [3:0] Out;
	output Cout;

	fulladder4 U0 (.A(invA?(~A):A),.B(invB?(~B):B),.Cin(Cin),.S(Out),.Cout(Cout));
endmodule
